﻿    #parse("${skin.TemplateName}/include/nav_wgg.htm")
        <div class="middle">
            <!-- 栏目循环 --->
                 <div class="partA">
                <div class="l">
                    <div class="lt">
                        <div id="i_focus_pic">
                        <ul id="i_focus_piclist" style="left:0; top:0;">
                        #set($TPList=$cmn.ModuleList(${page.ChannelId.ToString()},6,"article","flag='r'","adddate desc",true,true,0))

                       #foreach($ListInfo in ${TPList}) <li><a href="${ListInfo.Url}" target="_blank"><img src="${ListInfo.Img}" alt="${ListInfo.Title}" title="${ListInfo.Title}"/></a></li>#end
                      
                        </ul>
                        <div id="i_focus_opdiv"></div>
                        <!--slide大图374*224-->
                        <ul id="i_focus_tx">
                        #foreach($ListInfo in ${TPList})<li  class="normal"><a href="${ListInfo.Url}"  target="_blank"> ${ListInfo.Title}</a></li>#end
                    
                        </ul>
                        </div>
                        <!--slide右侧小缩略图75*70-->
                        <ul id="i_focus_btn">
                         #foreach($ListInfo in ${TPList})<li class="i_cur" id="p${velocityCount}"><a href="${ListInfo.Url}"  target="_blank"><img src="${ListInfo.Img}" alt="${ListInfo.Title}" title="${ListInfo.Title}" /></a></li>#end
                        </ul>
                      </div>
                      
                    <div class="lf">
                        <div class="titleA">
                            
                            <span class="tn">最新文章</span>
                        </div>
                        <div class="content">
                                                                       <ul >
      #foreach($ListInfo in $cmn.ModuleList(${page.ChannelId.ToString()},6,"article","adddate desc",true,0))<li><a href="${ListInfo.Url}" target="_blank">${ListInfo.GetLengthTitle(60)}</a></li>#end      
                                </ul>
                        </div>
                    </div>
                </div>
                <div class="lm">
                    <div class="titleA">
                       
                        <span class="tnews">本站推荐</span>
                    </div>
                    <div class="content">
                                                                                                    <ul >
   #foreach($ListInfo in $cmn.ModuleList(${page.ChannelId.ToString()},15,"article","flag !=''","adddate desc",true,true,0))<li><a href="${ListInfo.Url}" target="_blank">${ListInfo.GetLengthTitle(48)}</a></li>#end      
                                </ul>
                    </div>
                </div>
                <div class="r" id="table1"  >
                    <div class="titleA" id="tabtag1">
                       <ul><li>点击排行</li><li>好评排行</li></ul>
                    </div>
                    <div class="content" id="tabcon1">
                                         
                       
                                           <ul class="imgUl3" >
                               #foreach($ListInfo in $cmn.ModuleList(${page.ChannelId.ToString()},20,"article",0,"click","month"))
                                 <li><a href="${ListInfo.Url}" target="_blank"><img src="#if(${ListInfo.Img}!="")${ListInfo.Img}#else/upload/images.jpg#end" alt="${ListInfo.Title}" title="${ListInfo.Title}"><p>${ListInfo.GetLengthTitle(20)}</p></a></li>
                                #end
                                </ul>  
                                <ul class="imgUl3" >
                               #foreach($ListInfo in $cmn.ModuleList(${page.ChannelId.ToString()},20,"article",0,"support","month"))
                                <li><a href="${ListInfo.Url}" target="_blank"><img src="#if(${ListInfo.Img}!="")${ListInfo.Img}#else/upload/images.jpg#end" alt="${ListInfo.Title}" title="${ListInfo.Title}"><p>${ListInfo.GetLengthTitle(20)}</p></a></li>
                                #end      
                                </ul>
                    </div>
                                     
                </div>
            </div>
            <div class="partArticle">
                <!-- start 左 --->
                <div class="l">
                   

                  
                    <!-- 栏目循环 --->
                    <div class="partC" style="width:718px;">
                    ${cmn.Advertise("List_baidu").Advertise}
                       #foreach($ClassEntity in $cmn.ChannelList(${page.ChannelId}))
                       <div class="titleA mt5" id="tabtag${ClassEntity.Id}">
                     
                       <ul>
                         <li> <a href="${ClassEntity.Url}" target="_blank"><b>${ClassEntity.Title}</b></a></li>
                        #foreach($ChannelEntity in $cmn.ChannelList(${ClassEntity.Id},10))
                       <li><a href="${ChannelEntity.Url}" target="_blank">${ChannelEntity.Title}</a></li>
                       #end
                       </ul>
                    </div>
                    <div class="content" id="tabcon${ClassEntity.Id}">
                                            <ul class="imgUl">
                               #foreach($ListInfo in $cmn.ModuleList(${ClassEntity.Id.ToString()},10,"article","adddate desc",true,0))
               <li><a href="${ListInfo.Url}" target="_blank"><img src="#if(${ListInfo.Img}!="")${ListInfo.Img}#else/upload/images.jpg#end" alt="${ListInfo.Title}" title="${ListInfo.Title}"><p>${ListInfo.GetLengthTitle(40)}</p></a></li>
                #end
                                </ul>    
                                  #foreach($ChannelEntity in $cmn.ChannelList(${ClassEntity.Id},10))
                                 <ul  class="imgUl">
                                 #foreach($ListInfo in $cmn.ModuleList(${ChannelEntity.Id.ToString()},10,"article","flag!=''","adddate desc",true,0))
                      <li><a href="${ListInfo.Url}" target="_blank"><img src="#if(${ListInfo.Img}!="")${ListInfo.Img}#else/upload/images.jpg#end"" alt="${ListInfo.Title}" title="${ListInfo.Title}"><p>${ListInfo.GetLengthTitle(40)}</p></a></li>
                       #end
                                </ul>
                       #end
                      
                                     
                    </div>
                      #if(${velocityCount}==2)
${cmn.Advertise("List_baidu").Advertise}
#end
                     #end
                      
                         
                    
                    </div>
                 
                    <!-- end 左 --->
                </div>
                <!--end 栏目  -->
                <!-- end 左 --->
                #parse("${skin.TemplateName}/include/right2.htm")   
            </div>
            <!--end 栏目  -->
            #parse("${skin.TemplateName}/include/footer.htm")

            <script type="text/javascript">
                $(document).ready(function () {
                    $("#table1").tab({ tabId: "#tabtag1", tabTag: "li", conId: "#tabcon1", conTag: "ul",
                         auto: false,
                         effact: "", act: "mouseover"
                     })
                    #foreach($ClassEntity in $cmn.ChannelList(${page.ChannelId}))
                      $("#table${ClassEntity.Id}").tab({ tabId: "#tabtag${ClassEntity.Id}", tabTag: "li", conId: "#tabcon${ClassEntity.Id}", conTag: "ul",
                        auto: false,
                        effact: "", act: "mouseover"
                    })
                    #end
                });
	
           </script>

            
    </div>
</body>
</html>
